package com.hospital.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author fxy
 * @date 2022/8/30
 */
@Data
public class Register {
    private Integer id;
    private Integer uid;
    private Integer empid;
    private Integer depid;
    private Integer flag;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ctime;
    @JsonFormat(pattern = "yyyy-MM-dd")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //预约时间
    private Date registertime;
}
